<?php

define('G_OUTPUT_REQUEST_KEY', 1);
define('G_BIN_CHECK_INCLUDE', 1);
include "common.inc.php";

if(empty($_G_INPUT_['url']))
{
	die;
}
$shortLinkObj = Bin::singtolen('ShortLinkClass', 'ShortLink');
p($shortLinkObj->createShortLink($_G_INPUT_['url']));

